package com.itboye.eweilisten.me.zhanghu;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.itboye.eweilisten.R;
import com.itboye.eweilisten.base.BaseActivity;

/**
 * 账户安全
 */
public class ZhangHuAnQuanActivity extends BaseActivity {
    ImageView back;
    TextView tvTitle;
    TextView my_pass, my_youxiang, my_shebei,my_Phone;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_zhang_hu_an_quan);

        tvTitle.setText(R.string.zhanghu_anquan);
    }

    @Override
    public void onClick(View view) {
        Intent intent=null;
        switch (view.getId()) {
            case R.id.back:
                finish();
                break;
            case R.id.my_pass:
                intent=new Intent(this,UpdatePassActivity.class);
                startActivity(intent);

                break;
            case R.id.my_youxiang:
                intent=new Intent(this,UpdateEmailActivity.class);
                startActivity(intent);
                break;
            case R.id.my_Phone:
                intent=new Intent(this,UpdatePhoneActivity.class);
                startActivity(intent);
                break;
            case R.id.my_shebei:
                intent=new Intent(this,SheBeiActivity.class);
                startActivity(intent);
                break;
        }
    }
}
